<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>transform-translate函数</title>
        <style>
            .move{background-color:aqua;width:100px;height:100px;}
            .move:hover{transform: translate(100px,200px);}
        </style>
    </head>
    <body>
        <div class="move">
            测试
        </div>
    </body>
</html>